package week4.monday.two;

/**
 * @Package: week4.monday.two
 * @Author: yanjiali
 * @Created: 2024/3/18 21:53
 */
public class Main {
    public static void main(String[] args) {
        Circle circle = new Circle(10);
        circle.draw();
        System.out.println("圆的面积： " + circle.getArea());

        Rectangle rectangle = new Rectangle(10, 20);
        rectangle.draw();
        System.out.println("矩形的面积：" + rectangle.getArea());
    }
}
